SocketService::SocketService(){
    this->init();
}
SocketService::~SocketService(){
    #ifdef WIN32
    WSACleanup();
    #endif // WIN32
}
void SocketService::init(){
    #ifdef WIN32
    WSADATA wsaData;
    WSAStartup(0x202,&wsaData);
    #endif // WIN32
    this->Socalo = socket(AF_INET,SOCK_STREAM,0);
    this->Connected = 0;
    this->LocalPort = 0;
    bzero(&this->LocalData,sizeof(sockaddr_in));
}
